package com.ticketsystem.dao;

import com.ticketsystem.model.Ticket;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TicketDao {
    List<Ticket> getTicketByFormId1(@Param("orderFormId") int orderFormId);

    List<Ticket> getAllTicket();
}

